package top.hepingan.cloudcommon.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("orders")
public class Order {

    @TableId(type = IdType.AUTO)
    private Integer orderId;

    private String orderName;

    private Integer userId;

    private String username;

    private Double amount;

    private LocalDateTime createdTime;
}
